/***************************************************************************
 * 文件名:PermissionDTO.java<br>
 * 版本: <br>
 * 描述: <br>
 * 版权所有: <br>
 * //////////////////////////////////////////////////////// <br>
 * 创建者: robo<br>
 * 创建日期: 2010-12-20 <br>
 * 修改者: <br>
 * 修改日期: <br>
 * 修改说明: <br>
 **************************************************************************/
package com.sunwayhorizo.health.business.dto.security;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class PermissionDTO  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	//主键
	private String permissionId;
	
	//权限名称
	private String permissionName;
	
	//权限CODE
	private String permissionCode;
	
	//资源定位符
	private String permissionURI;
	
	//图标
	private String permissionIcon;
	
	//描述
	private String description;
	
	//父节点
	private String parentId;
	
	//权限类型
	private String permissionClass;
	
	private List<PermissionDTO> children=new ArrayList<PermissionDTO>();

	@Override
	public String toString() {
		return "PermissionDTO [\n主键=" + permissionId
				+ ",\n 权限名称=" + permissionName
				+ ",\n 权限CODE=" + permissionCode + ",\n 资源定位符="
				+ permissionURI + ",\n 图标=" + permissionIcon
				+ ",\n 描述=" + description + ",\n 父节点=" + parentId
				+ ",\n 权限类型=" + permissionClass + ",\n 子节点="
				+ children + "]";
	}
	public String getPermissionName() {
		return permissionName;
	}
	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}
	public String getPermissionCode() {
		return permissionCode;
	}
	public void setPermissionCode(String permissionCode) {
		this.permissionCode = permissionCode;
	}
	public String getPermissionURI() {
		return permissionURI;
	}
	public void setPermissionURI(String permissionURI) {
		this.permissionURI = permissionURI;
	}
	public String getPermissionIcon() {
		return permissionIcon;
	}
	public void setPermissionIcon(String permissionIcon) {
		this.permissionIcon = permissionIcon;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getPermissionId() {
		return permissionId;
	}
	public void setPermissionId(String permissionId) {
		this.permissionId = permissionId;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getPermissionClass() {
		return permissionClass;
	}
	public void setPermissionClass(String permissionClass) {
		this.permissionClass = permissionClass;
	}
	public List<PermissionDTO> getChildren() {
		return children;
	}
	public void setChildren(List<PermissionDTO> children) {
		this.children = children;
	}
	
	
	
}


